package com.demostic.demostic_test.entity;

public class Point {
    int endx;
    int endy;
    int startx;
    int starty;
    int type;
    public int x;
    public int y;

    public Point() {
    }

    public Point(int x2, int y2) {
        this.x = x2;
        this.y = y2;
    }

    public void set(int x2, int y2) {
        this.x = x2;
        this.y = y2;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type2) {
        this.type = type2;
    }

    public int getX() {
        return this.x;
    }

    public void setX(int x2) {
        this.x = x2;
    }

    public int getY() {
        return this.y;
    }

    public void setY(int y2) {
        this.y = y2;
    }

    public int getStartx() {
        return this.startx;
    }

    public void setStartx(int startx2) {
        this.startx = startx2;
    }

    public int getStarty() {
        return this.starty;
    }

    public void setStarty(int starty2) {
        this.starty = starty2;
    }

    public int getEndx() {
        return this.endx;
    }

    public void setEndx(int endx2) {
        this.endx = endx2;
    }

    public int getEndy() {
        return this.endy;
    }

    public void setEndy(int endy2) {
        this.endy = endy2;
    }

    public boolean equals(Object obj) {
        if (getClass() != obj.getClass()) {
            return false;
        }
        Point point = (Point) obj;
        if (this.x == point.x && this.y == point.y) {
            return true;
        }
        return false;
    }
}
